﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class jisuan
    {
        public int js(int a, int b) 
        {
            return a + b;
        }
        public double js(double a, double b) 
        {
            return a + b;
        }
        public string js(string a, string b)
        {
            return a + b;
        }
        public int js(int a)
        {
            int c = 0;
            for (int i = 1; i <= a; i++)
            {
                c = c + i;
            }
            return c;
        }
    }
}
